package com.example.e_comm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.e_comm.entity.User;

public interface UserService extends IService<User> {
    boolean register(User user);
    String login(String username, String password);
    String getUserInfo(String token);
    String updateUserInfo(String token, User user);
    String updateUserPassword(String token, String oldPassword, String newPassword);


}
